package ch.elektroplan.christian.projectFinder.business;

import java.io.File;

public class ElektroplanFolder {

	private String fullName;
	private char[] letters;
	private File internfile;

	public ElektroplanFolder(File file) {

		if (file!= null) {
			
			this.internfile = file;
			
			this.fullName = file.getName();
			
			this.letters = new char[file.getName().length()];
			for (int i = 0; i < letters.length; i++) {
				letters[i] = file.getName().toLowerCase().charAt(i);
				
			}
		}
		
		
	}
	
	
	

	public String toString() {
		return fullName.toString();
	}




	public File getInternfile() {
		return internfile;
	}




	public String getFullName() {
		return fullName;
	}

	public char[] getLetters() {
		return letters;
	}
	
	

}
